

#ifndef _SHELL_RESSELLGOODS_MESSAGE_H_
#define _SHELL_RESSELLGOODS_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include <vector>
//#include "SellGoods.h"
using namespace std;

class ResSellGoodsMessage : public Message
{
	public:
	ResSellGoodsMessage();
	~ResSellGoodsMessage();
	void reset();
	ResSellGoodsMessage* clone();
	static const int _ID;
	//刷新所需元宝
	int16 dollar;
	//玩家当前所出售的物品
	vector<SellGoods*> sellGoods;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
